package com.ruoyi.framework.web.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ruoyi.system.domain.SysAppMedicine;
import com.ruoyi.system.service.ISysAppMedicineService;

@Service("medicine")
public class MedicineService {

	@Autowired
	private ISysAppMedicineService sysAppMedicineService;

	public List<SysAppMedicine> getInfos(Integer status) {
		SysAppMedicine sysAppMedicine = new SysAppMedicine();
		sysAppMedicine.setState(status);
		List<SysAppMedicine> infos = sysAppMedicineService.selectSysAppMedicineList(sysAppMedicine);
		return infos;
	}

}
